import Main from '@/components/main'

export default {
  path: '/sales-promotion',
  name: 'sales-promotion',
  meta: {
    title: '促销管理',
    icon: 'ios-book'
  },
  component: Main,
  children: [
    {
      path: 'group-buying',
      name: 'group-buying',
      meta: {
        icon: 'md-home',
        title: '团购'
      },
      component: () => import('@/view/sales-promotion/group-buying/group-buying.vue')
    },
    {
      path: 'seckill',
      name: 'seckill',
      meta: {
        icon: 'md-home',
        title: '秒杀'
      },
      component: () => import('@/view/index-config/day-recommend.vue')
    },
    {
      path: 'single-piece',
      name: 'single-piece',
      meta: {
        icon: 'md-home',
        title: '单品促销'
      },
      component: () => import('@/view/index-config/day-recommend.vue')
    },
    {
      path: 'goods_types',
      name: 'goods_types',
      meta: {
        icon: 'md-home',
        title: '商品分类'
      },
      component: () => import('@/view/sales-promotion/goods-types/goods-types.vue')
    }
  ]
}
